package com.person.yhzs.family.entity.vo;

import com.person.yhzs.user.entity.User;
import com.person.yhzs.user.entity.vo.UserVo;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author luolin
 * @Description
 * @createTime 2022年09月23日 10:55:00
 */
// extends UserVo
public class FamilyPersonTreeModelVo extends FamilyVo implements Serializable  {

//    private static final long serialVersionUID = -65632848491530149L;

    // 关系id
    private Long relationId;

    // 当前用户id
    private Long userId;

    // 家谱Id
    private Long familyId;

    // 母亲
    @ApiModelProperty("父用户信息")
    private UserVo userParent;

    // 关系父id
    private Long relationPId;

    // 配偶
    @ApiModelProperty("配偶")
    private UserVo userMate;

    // 我
    @ApiModelProperty("我")
    private UserVo user;

    // 配偶Id
    private Long mateId;

    // 父亲
    @ApiModelProperty("父亲")
    private UserVo userFather;

    // 父亲id
    private Long fatherId;

    // 母亲
    @ApiModelProperty("母亲")
    private UserVo userMather;

    // 母亲id
    private Long matherId;

    // 顺序
    private Long brotherSort;

    public Long getRelationId() {
        return relationId;
    }

    public void setRelationId(Long relationId) {
        this.relationId = relationId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getFamilyId() {
        return familyId;
    }

    public void setFamilyId(Long familyId) {
        this.familyId = familyId;
    }

    public UserVo getUserParent() {
        return userParent;
    }

    public void setUserParent(UserVo userParent) {
        this.userParent = userParent;
    }

    public Long getRelationPId() {
        return relationPId;
    }

    public void setRelationPId(Long relationPId) {
        this.relationPId = relationPId;
    }

    public UserVo getUserMate() {
        return userMate;
    }

    public void setUserMate(UserVo userMate) {
        this.userMate = userMate;
    }

    public UserVo getUser() {
        return user;
    }

    public void setUser(UserVo user) {
        this.user = user;
    }

    public Long getMateId() {
        return mateId;
    }

    public void setMateId(Long mateId) {
        this.mateId = mateId;
    }

    public UserVo getUserFather() {
        return userFather;
    }

    public void setUserFather(UserVo userFather) {
        this.userFather = userFather;
    }

    public Long getFatherId() {
        return fatherId;
    }

    public void setFatherId(Long fatherId) {
        this.fatherId = fatherId;
    }

    public UserVo getUserMather() {
        return userMather;
    }

    public void setUserMather(UserVo userMather) {
        this.userMather = userMather;
    }

    public Long getMatherId() {
        return matherId;
    }

    public void setMatherId(Long matherId) {
        this.matherId = matherId;
    }

    public Long getBrotherSort() {
        return brotherSort;
    }

    public void setBrotherSort(Long brotherSort) {
        this.brotherSort = brotherSort;
    }

    @Override
    public String toString() {
        return "FamilyPersonTreeModelVo{" +
                "relationId=" + relationId +
                ", userId=" + userId +
                ", familyId=" + familyId +
                ", userParent=" + userParent +
                ", relationPId=" + relationPId +
                ", userMate=" + userMate +
                ", user=" + user +
                ", mateId=" + mateId +
                ", userFather=" + userFather +
                ", fatherId=" + fatherId +
                ", userMather=" + userMather +
                ", matherId=" + matherId +
                ", brotherSort=" + brotherSort +
                '}';
    }
}
